package au.com.twosquared.animalfarm.ui.components.button;

import au.com.twosquared.animalfarm.ui.components.Component;


// Derp derp this should get your started
public class Button extends Component {

	String text;
	
	boolean toggle;
	boolean held;

	public Button(float x, float y, String text) {
		super(x, y, text.length() * 10, 100);
		this.text = text;
	}
	
	@Override
	public void draw() {
		
	}

	@Override
	public void trigger() {
		held = true;
		toggle = !toggle;
	}

	@Override
	public void release() {
		held = false;
	}


}
